package com.OjSystem.system.service;

import com.OjSystem.common.core.result.CommonResult;
import com.OjSystem.system.domain.AdminUser;
import com.OjSystem.system.domain.LoginDTO;
import com.OjSystem.system.domain.LoginUserVO;

public interface ISysUserService {
    CommonResult<String> login(LoginDTO loginDTO);

    boolean addAdminUser(AdminUser adminUser);

    LoginUserVO getLoginUserInfo(String token);

    boolean logout(String token);
}
